package cn.wubo.redis.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class User implements Serializable {

    private Integer id;
    private String name;
    private Date date;

    public static User getSampleUser(){
        User user = new User();
        user.setId(99);
        user.setName("AAA");
        user.setDate(new Date());
        return user;
    }
}
